<link rel="stylesheet" type="text/css" href="../css/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../css/themes/icon.css">

<div id="panel-badinfo-base-supply-pop" data-options="border:false;width:100%">
	<div class="easyui-panel list-panel" data-options="openAnimation:'slide',closeAnimation:'slide'">
	  	<div class="well well-small" style="margin-left: 5px;margin-top: 5px">
			<p>
				<span class="badge">提示</span>
				 <strong><font color="red">双击</font></strong> 记录行, 可以查看供应商不良记录详情
			</p>			
		</div>   
	
		<table class="easyui-datagrid dg-list" 
			data-options="rownumbers:true,
			animate: true,						
			striped:true,
			border:true,
			//singleSelect:false,
			idField: 'id',						
			fitColumns: true,
			checkOnSelect:true,
			selectOnCheck:true,
			pagination : true">
			
			<thead>						
				<tr>								
						<th field="sup_name" width="80" halign="center" align="left">供应商名称</th>
						<th field="legalrepresentative" width="60" align="center">法人代表</th>
						<th field="authorizedperson" width="60" align="center">被授权人</th>
						<th field="contactphone" width="60" align="center">联系电话</th>
						<th field="record_time" width="60" align="center">不良记录时间</th>
						<th field="record_text" width="60" align="center">不良记录实情</th>
			    </tr>	
			</thead>
			
		</table>
	</div>
	
	<div class="easyui-panel details-panel" data-options="closed:true,openAnimation:'slide',closeAnimation:'slide'">
	  	   
		<div>					
			<a href="javascript:void(0);" class="easyui-linkbutton function-btn l-btn l-btn-small l-btn-plain" iconcls="icon-undo" plain="true">返回</a>
		</div>
		<table class="easyui-datagrid dg-list" 
			data-options="rownumbers:true,
			animate: true,				
			striped:true,
			border:true,
			//singleSelect:false,
			idField: 'id',
			fitColumns: true,
			checkOnSelect:true,
			selectOnCheck:true,
			pagination : true">			
			<thead>
				<tr>								
					<th field="sup_name" width="80" halign="center" align="left">供应商名称</th>
					<th field="legalrepresentative" width="60" align="center">法人代表</th>
					<th field="authorizedperson" width="60" align="center">被授权人</th>
					<th field="contactphone" width="60" align="center">联系电话</th>
					<th field="record_time" width="60" align="center">不良记录时间</th>
					<th field="record_text" width="60" align="center">不良记录实情</th>
				</tr>	
			</thead>
			
		</table>
	</div>
	
</div> 

 
<script>
requirejs(['popListPage','baseSupplyInfo','domReady!'],function(flowedit,baseSupplyInfo,doc){
	flowedit.init({doc:doc,
		rootId:'panel-badinfo-base-supply-pop',
		subSystemCode:'supply',
		moduleCode:'baseInfoSupply',
		queryModule:'supplyBaseinfo',
		querylistUrl:'getListDomain',
		editWindow:'badinfo-base-supply-pop-win',
		initElement:baseSupplyInfo.initMain,				
		rowClick:baseSupplyInfo.clickBizRow
	});
});	
</script>

